<!--!
This file is a part of MediaDrop (http://www.mediadrop.net),
Copyright 2009-2013 MediaCore Inc., Felix Schwarz and other contributors.
For the exact contribution history, see the git revision log.
The source code contained in this file is licensed under the GPLv3 or
(at your option) any later version.
See LICENSE.txt in the main project directory, for more information.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:i18n="http://genshi.edgewall.org/i18n"
      xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="./master.html" />
<head>
	<title>Appearance</title>
	<link href="${h.url_for('/admin/styles/forms.css')}" media="screen" rel="stylesheet" type="text/css" />
	<link href="${h.url_for('/admin/styles/squeezebox.css')}" media="screen" rel="stylesheet" type="text/css" />
	<script src="${h.url_for('/scripts/third-party/squeezebox-1.1-rc4-yui-compressed.js')}" type="text/javascript"></script>
	<script type="text/javascript" src="${h.url_for('/admin/scripts/modals.js')}"></script>
	<script type="text/javascript" src="${h.url_for('/admin/scripts/confirm.js')}"></script>
	<script type="text/javascript">
		window.addEvent('domready', function(){
			var resetConfirm = new ResetConfirmMgr({
				header: '${_('Confirm Reset').replace("'", "\\'")}',
				msg: '${_('Are you sure you want to reset your settings to the default?').replace("'", "\\'")}',
				confirmButtonText: '${_('Reset to Defaults').replace("'", "\\'")}',
				cancelButtonText: '${_('Cancel').replace("'", "\\'")}'
			});
			$('reset').addEvent('click', resetConfirm.openConfirmDialog.bind(resetConfirm));
		});
	</script>
</head>
<body>
	<div class="box">
		<div class="box-head">
			<h1>Appearance</h1>
			<span class="box-head-sec">${h.doc_link('admin/settings', 'Appearance')}</span>
		</div>
		<form py:replace="form(form_values)" />
	</div>
</body>
</html>
